package com.qianzhu8.kfc.boot.factory;

import com.qianzhu8.kfc.boot.client.KfcExecuteClient;
import com.qianzhu8.kfc.boot.client.KfcExecuteClientImpl;
import com.qianzhu8.kfc.boot.props.KfcProperty;

/**
 * 执行客户端工厂
 *
 * @author xuyanjun
 * @date 2020/4/10
 */
public class KfcExecuteFactoryImpl implements KfcExecuteFactory {

    /**
     * 创建执行客户端
     *
     * @param kfcProperty kfcProperty
     * @return 执行客户端
     */
    @Override
    public KfcExecuteClient createExecuteClient(KfcProperty kfcProperty) {
        return new KfcExecuteClientImpl(kfcProperty);
    }
}
